fix: long version info not displayed correctly in release builds#1374
Merged
fix: long version info not displayed correctly in release builds#1374
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1374 +/- ##
==========================================
+ Coverage 67.59% 72.61% +5.01%
==========================================
Files 300 300
Lines 11054 11067 +13
==========================================
+ Hits 7472 8036 +564
+ Misses 2641 2133 -508
+ Partials 941 898 -43
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
jooola
reviewed
Mar 26, 2026
jooola
reviewed
Mar 26, 2026
jooola
approved these changes
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goreleaser allows injecting the
vcs.revisionandvcs.timevariables directly using ldflags, which is more reliable than usingdebug.ReadBuildInfo()and should fix the long version output for GitHub releases.debug.ReadBuildInfo()is still used as a fallback in case the binary was not built using goreleaser. Thego mod tidybefore hook was removed from the goreleaser config as we already keep our go mod tidied using renovate.